.class public Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Ljava/util/Observer;


# instance fields
.field private a:Ljava/lang/String;

.field private b:Lcom/waiqin365/lightapp/view/SearchView;

.field private c:Landroid/view/View;

.field private d:Landroid/widget/Button;

.field private e:Landroid/view/View;

.field private f:Lcom/waiqin365/compons/view/FlowLayout;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/view/View;

.field private i:Landroid/view/View;

.field private j:Landroid/view/View;

.field private k:Landroid/widget/TextView;

.field private l:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field private m:Ljava/util/List;

.field private n:Lcom/waiqin365/lightapp/syorder/product/a/m;

.field private o:Lcom/waiqin365/lightapp/syorder/product/b/a;

.field private p:Lcom/waiqin365/lightapp/syorder/product/b/a;

.field private q:Lcom/waiqin365/lightapp/syorder/product/k;

.field private r:Lcom/waiqin365/lightapp/view/NoNetView;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;)Lcom/waiqin365/lightapp/view/SearchView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->b:Lcom/waiqin365/lightapp/view/SearchView;

    return-object v0
.end method

.method private a()V
    .locals 7

    const/4 v3, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->j:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v1, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->j:Ljava/lang/String;

    const/4 v2, 0x0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v4, "camera"

    const/4 v5, 0x0

    invoke-virtual {v0, v4, v5}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v5

    move-object v0, p0

    move v4, v3

    move v6, v3

    invoke-direct/range {v0 .. v6}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)V

    :cond_0
    return-void
.end method

.method private a(I)V
    .locals 3

    if-lez p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->d:Landroid/widget/Button;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->d:Landroid/widget/Button;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "\u786e\u5b9a("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->d:Landroid/widget/Button;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->d:Landroid/widget/Button;

    const-string/jumbo v1, "\u786e\u5b9a"

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method private a(Lcom/waiqin365/lightapp/syorder/d/b;)V
    .locals 1

    if-nez p1, :cond_0

    const-string/jumbo v0, "\u8bf7\u9009\u62e9\u5546\u54c1\uff01"

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->showToast(Ljava/lang/String;)V

    :goto_0
    return-void

    :cond_0
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->a(Ljava/util/List;)V

    goto :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->a(I)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;Lcom/waiqin365/lightapp/syorder/d/b;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->a(Lcom/waiqin365/lightapp/syorder/d/b;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;Ljava/lang/String;Ljava/lang/String;ZZZZ)V
    .locals 0

    invoke-direct/range {p0 .. p6}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;Ljava/lang/String;Z)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->a(Ljava/lang/String;Z)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;Ljava/lang/String;ZZ)V
    .locals 0

    invoke-direct {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->a(Ljava/lang/String;ZZ)V

    return-void
.end method

.method private a(Lcom/waiqin365/lightapp/syorder/product/b/b;ZZ)V
    .locals 9

    new-instance v0, Lcom/waiqin365/lightapp/syorder/b/a/f;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->auth_code:Ljava/lang/String;

    iget-object v2, p1, Lcom/waiqin365/lightapp/syorder/product/b/b;->e:Ljava/lang/String;

    iget-object v3, p1, Lcom/waiqin365/lightapp/syorder/product/b/b;->b:Ljava/lang/String;

    iget-object v4, p1, Lcom/waiqin365/lightapp/syorder/product/b/b;->c:Ljava/lang/String;

    iget-object v5, p1, Lcom/waiqin365/lightapp/syorder/product/b/b;->a:Ljava/lang/String;

    iget-object v6, p1, Lcom/waiqin365/lightapp/syorder/product/b/b;->d:Ljava/lang/String;

    const-string/jumbo v7, ""

    const-string/jumbo v8, "20000000"

    invoke-direct/range {v0 .. v8}, Lcom/waiqin365/lightapp/syorder/b/a/f;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    iput-boolean p2, v0, Lcom/waiqin365/lightapp/syorder/b/a/f;->a:Z

    iput-boolean p3, v0, Lcom/waiqin365/lightapp/syorder/b/a/f;->h:Z

    new-instance v1, Lcom/waiqin365/lightapp/syorder/b/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->q:Lcom/waiqin365/lightapp/syorder/product/k;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/syorder/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/syorder/b/c;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/syorder/b/b;->start()V

    return-void
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;ZZZZ)V
    .locals 5

    const/4 v4, 0x0

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    const v0, 0x7f080602

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->showToast(Ljava/lang/String;)V

    :goto_0
    return-void

    :cond_1
    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/e/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/product/e/a;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/e/a;->a(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_3

    if-nez p5, :cond_2

    if-eqz p6, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/e/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/product/e/a;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/e/a;->b(Ljava/lang/String;)V

    :cond_2
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v2, 0x7f0301e7

    iget-object v3, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->f:Lcom/waiqin365/compons/view/FlowLayout;

    invoke-virtual {v0, v2, v3, v4}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    new-instance v2, Lcom/waiqin365/lightapp/syorder/product/g;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/syorder/product/g;-><init>(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;)V

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    if-nez p5, :cond_3

    if-eqz p6, :cond_3

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->f:Lcom/waiqin365/compons/view/FlowLayout;

    invoke-virtual {v2, v0, v4}, Lcom/waiqin365/compons/view/FlowLayout;->addView(Landroid/view/View;I)V

    :cond_3
    if-eqz p3, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->d:Lcom/waiqin365/lightapp/syorder/product/b/b;

    const-string/jumbo v2, "1"

    iput-object v2, v0, Lcom/waiqin365/lightapp/syorder/product/b/b;->d:Ljava/lang/String;

    :goto_1
    iput-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->a:Ljava/lang/String;

    if-eqz p5, :cond_7

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->d:Lcom/waiqin365/lightapp/syorder/product/b/b;

    iput-object v1, v0, Lcom/waiqin365/lightapp/syorder/product/b/b;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->d:Lcom/waiqin365/lightapp/syorder/product/b/b;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/syorder/product/b/b;->c:Ljava/lang/String;

    :goto_2
    if-eqz p4, :cond_4

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->showProgressDialog(Ljava/lang/String;)V

    :cond_4
    if-eqz p3, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->m:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->d:Lcom/waiqin365/lightapp/syorder/product/b/b;

    invoke-direct {p0, v0, p5, p3}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->a(Lcom/waiqin365/lightapp/syorder/product/b/b;ZZ)V

    goto :goto_0

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->d:Lcom/waiqin365/lightapp/syorder/product/b/b;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v3, v3, Lcom/waiqin365/lightapp/syorder/product/b/a;->d:Lcom/waiqin365/lightapp/syorder/product/b/b;

    iget-object v3, v3, Lcom/waiqin365/lightapp/syorder/product/b/b;->d:Ljava/lang/String;

    invoke-static {v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v3

    add-int/lit8 v3, v3, 0x1

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v0, Lcom/waiqin365/lightapp/syorder/product/b/b;->d:Ljava/lang/String;

    goto :goto_1

    :cond_7
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->d:Lcom/waiqin365/lightapp/syorder/product/b/b;

    const-string/jumbo v2, ""

    iput-object v2, v0, Lcom/waiqin365/lightapp/syorder/product/b/b;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->d:Lcom/waiqin365/lightapp/syorder/product/b/b;

    iput-object v1, v0, Lcom/waiqin365/lightapp/syorder/product/b/b;->c:Ljava/lang/String;

    goto :goto_2
.end method

.method private a(Ljava/lang/String;Z)V
    .locals 7

    const/4 v4, 0x1

    const/4 v2, 0x0

    const/4 v5, 0x0

    move-object v0, p0

    move-object v1, p1

    move v3, p2

    move v6, v4

    invoke-direct/range {v0 .. v6}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)V

    return-void
.end method

.method private a(Ljava/lang/String;ZZ)V
    .locals 7

    const/4 v2, 0x0

    const/4 v5, 0x0

    const/4 v6, 0x1

    move-object v0, p0

    move-object v1, p1

    move v3, p2

    move v4, p3

    invoke-direct/range {v0 .. v6}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)V

    return-void
.end method

.method private a(Ljava/util/List;)V
    .locals 2

    if-nez p1, :cond_0

    const-string/jumbo v0, "\u8bf7\u9009\u62e9\u5546\u54c1\uff01"

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->showToast(Ljava/lang/String;)V

    :goto_0
    return-void

    :cond_0
    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    const-string/jumbo v1, "has_data"

    invoke-virtual {v0, v1, p1}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;)V

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->finish()V

    goto :goto_0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;)Lcom/waiqin365/lightapp/syorder/product/b/a;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    return-object v0
.end method

.method private b()V
    .locals 8

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/e/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/product/e/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/e/a;->a()[Ljava/lang/String;

    move-result-object v3

    array-length v0, v3

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->e:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v4

    array-length v5, v3

    move v1, v2

    :goto_0
    if-ge v1, v5, :cond_1

    aget-object v6, v3, v1

    const v0, 0x7f0301e7

    iget-object v7, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->f:Lcom/waiqin365/compons/view/FlowLayout;

    invoke-virtual {v4, v0, v7, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    invoke-virtual {v0, v6}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    new-instance v6, Lcom/waiqin365/lightapp/syorder/product/d;

    invoke-direct {v6, p0}, Lcom/waiqin365/lightapp/syorder/product/d;-><init>(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;)V

    invoke-virtual {v0, v6}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v6, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->f:Lcom/waiqin365/compons/view/FlowLayout;

    invoke-virtual {v6, v0, v2}, Lcom/waiqin365/compons/view/FlowLayout;->addView(Landroid/view/View;I)V

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->m:Ljava/util/List;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->c()Lcom/waiqin365/lightapp/syorder/product/a/m;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->n:Lcom/waiqin365/lightapp/syorder/product/a/m;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->l:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->n:Lcom/waiqin365/lightapp/syorder/product/a/m;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->l:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    return-void
.end method

.method private c()Lcom/waiqin365/lightapp/syorder/product/a/m;
    .locals 3

    new-instance v0, Lcom/waiqin365/lightapp/syorder/product/a/m;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->m:Ljava/util/List;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/syorder/product/a/m;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-boolean v1, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->g:Z

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/product/a/m;->c(Z)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-boolean v1, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->h:Z

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/product/a/m;->e(Z)V

    invoke-static {}, Lcom/waiqin365/lightapp/syorder/ap;->a()Lcom/waiqin365/lightapp/syorder/ap;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->mContext:Landroid/content/Context;

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/syorder/ap;->a(Landroid/content/Context;)Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/product/a/m;->b(Z)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v1, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->e:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/product/a/m;->a(Ljava/util/List;)V

    new-instance v1, Lcom/waiqin365/lightapp/syorder/product/e;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/syorder/product/e;-><init>(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/product/a/m;->a(Lcom/waiqin365/lightapp/product/c/d;)V

    new-instance v1, Lcom/waiqin365/lightapp/syorder/product/f;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/syorder/product/f;-><init>(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/product/a/m;->a(Lcom/waiqin365/lightapp/syorder/product/a/q;)V

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->e()V

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->l:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    return-object v0
.end method

.method private d()V
    .locals 2

    const v0, 0x7f0c00cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->r:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->r:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a()V

    const v0, 0x7f0c0a0c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/SearchView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->b:Lcom/waiqin365/lightapp/view/SearchView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->b:Lcom/waiqin365/lightapp/view/SearchView;

    const-string/jumbo v1, "\u641c\u7d22\u5546\u54c1\u540d\u79f0/\u7f16\u7801/\u52a9\u8bb0\u7801"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SearchView;->setHint(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c050d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->c:Landroid/view/View;

    const v0, 0x7f0c0504

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->d:Landroid/widget/Button;

    const v0, 0x7f0c0a15

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->e:Landroid/view/View;

    const v0, 0x7f0c0a16

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/compons/view/FlowLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->f:Lcom/waiqin365/compons/view/FlowLayout;

    const v0, 0x7f0c0134

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->h:Landroid/view/View;

    const v0, 0x7f0c0a18

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->g:Landroid/widget/TextView;

    const v0, 0x7f0c0a19

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->i:Landroid/view/View;

    const v0, 0x7f0c0a1a

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->j:Landroid/view/View;

    const v0, 0x7f0c0a1b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->k:Landroid/widget/TextView;

    const v0, 0x7f0c09fb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->l:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->l:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->a:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->b:Z

    if-nez v0, :cond_1

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->c:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_1
    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->m:Ljava/util/List;

    return-object v0
.end method

.method private e()V
    .locals 3

    const/16 v2, 0x8

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/e/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/product/e/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/e/a;->a()[Ljava/lang/String;

    move-result-object v0

    array-length v0, v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->e:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->c:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->i:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->e:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method

.method private f()V
    .locals 5

    const/4 v1, 0x0

    const/16 v4, 0x8

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->a:Ljava/lang/String;

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->h:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->i:Landroid/view/View;

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->e:Landroid/view/View;

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->j:Landroid/view/View;

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->c:Landroid/view/View;

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->g:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "\u6ca1\u6709\u627e\u5230\""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "\"\u76f8\u5173\u7ed3\u679c"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->a:Ljava/lang/String;

    const-string/jumbo v3, "#FF693C"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-static {v1, v2, v3}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)Landroid/text/SpannableStringBuilder;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->f()V

    return-void
.end method

.method private g()V
    .locals 3

    const/16 v2, 0x8

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->e:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->i:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->h:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->j:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->a:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->b:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->c:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->g()V

    return-void
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->k:Landroid/widget/TextView;

    return-object v0
.end method

.method private h()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->d:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->b:Lcom/waiqin365/lightapp/view/SearchView;

    new-instance v1, Lcom/waiqin365/lightapp/syorder/product/h;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/syorder/product/h;-><init>(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SearchView;->setOnSearchKeyChangedListener(Lcom/waiqin365/lightapp/view/hl;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->b:Lcom/waiqin365/lightapp/view/SearchView;

    new-instance v1, Lcom/waiqin365/lightapp/syorder/product/i;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/syorder/product/i;-><init>(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SearchView;->setSearchListener(Lcom/waiqin365/lightapp/view/hm;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->l:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/syorder/product/j;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/syorder/product/j;-><init>(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonHistoryListener(Lcom/waiqin365/lightapp/dailyreport/view/aa;)V

    return-void
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;)Lcom/waiqin365/lightapp/syorder/product/a/m;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->n:Lcom/waiqin365/lightapp/syorder/product/a/m;

    return-object v0
.end method


# virtual methods
.method public finish()V
    .locals 3

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->p:Lcom/waiqin365/lightapp/syorder/product/b/a;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->p:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->n:Lcom/waiqin365/lightapp/syorder/product/a/m;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/syorder/product/a/m;->c()Ljava/util/List;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->e:Ljava/util/List;

    const-string/jumbo v1, "param"

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->p:Lcom/waiqin365/lightapp/syorder/product/b/a;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    :goto_0
    const/4 v1, -0x1

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->setResult(ILandroid/content/Intent;)V

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->finish()V

    return-void

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->n:Lcom/waiqin365/lightapp/syorder/product/a/m;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/syorder/product/a/m;->c()Ljava/util/List;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->e:Ljava/util/List;

    const-string/jumbo v1, "param"

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    goto :goto_0
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 2

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    const/4 v0, -0x1

    if-ne p2, v0, :cond_0

    sparse-switch p1, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    const-string/jumbo v0, "param"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/syorder/product/b/a;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->n:Lcom/waiqin365/lightapp/syorder/product/a/m;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v1, v1, Lcom/waiqin365/lightapp/syorder/product/b/a;->e:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/product/a/m;->a(Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->n:Lcom/waiqin365/lightapp/syorder/product/a/m;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/product/a/m;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/b/a;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->a(I)V

    goto :goto_0

    :sswitch_1
    if-eqz p3, :cond_0

    const-string/jumbo v0, "product"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/syorder/d/b;

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->n:Lcom/waiqin365/lightapp/syorder/product/a/m;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/syorder/product/a/m;->a(Lcom/waiqin365/lightapp/syorder/d/b;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->n:Lcom/waiqin365/lightapp/syorder/product/a/m;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/product/a/m;->notifyDataSetChanged()V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x3ea -> :sswitch_1
        0x4d2 -> :sswitch_0
    .end sparse-switch
.end method

.method public onClick(Landroid/view/View;)V
    .locals 2

    const/16 v1, 0x8

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->f:Lcom/waiqin365/compons/view/FlowLayout;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/FlowLayout;->removeAllViews()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->e:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/e/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/product/e/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/e/a;->b()V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->n:Lcom/waiqin365/lightapp/syorder/product/a/m;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/product/a/m;->c()Ljava/util/List;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->a(Ljava/util/List;)V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c0504 -> :sswitch_1
        0x7f0c0a17 -> :sswitch_0
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f03025f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->setContentView(I)V

    new-instance v0, Lcom/waiqin365/lightapp/syorder/product/k;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/syorder/product/k;-><init>(Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->q:Lcom/waiqin365/lightapp/syorder/product/k;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "param"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/syorder/product/b/a;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/syorder/product/b/a;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/syorder/product/b/a;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    :goto_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->d()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->h()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->b()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->a()V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/fiberhome/gaea/client/a/b;->addObserver(Ljava/util/Observer;)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/syorder/product/b/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/product/b/a;->a()Lcom/waiqin365/lightapp/syorder/product/b/a;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/SyProductSearchActivityNew;->p:Lcom/waiqin365/lightapp/syorder/product/b/a;

    goto :goto_0
.end method

.method protected onDestroy()V
    .locals 1

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/fiberhome/gaea/client/a/b;->deleteObserver(Ljava/util/Observer;)V

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onDestroy()V

    return-void
.end method
